11. Recap - Local Storage

Storing Tokens in Web Browsers

Using Local Storage

Local Storage is an implementation of a key-value store which is accessible through a javascript interface in most modern browsers. It is a general purpose interface to store strings which will persist in memory from session to session. It is designed for smaller strings and alternative opensource systems like localForage exist for large amounts of data.

ND004 C03 L02 A09.1 Local Storage 1

What are Some Properties of Local Storage?

Which of the following are properties of Local Storage?

SOLUTION:
  • Site Specific
  • Persistent from Session to Session
  • Cross browser compatible